﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MC.RideEventMVC.Models;

namespace MC.RideEventMVC.Controllers
{
    public class SignUpController : Controller
    {
        //
        // GET: /SignUp/

        public ActionResult Index()
        {
            return View();
        }

        [HttpPost]
        //public ActionResult Index(string Name)
        //public ActionResult Index(FormCollection form)
        public ActionResult Index(MemberModel newUser)
        {
            //form["Name"]
            if (ModelState.IsValid)
            {

            }
            else
            { 
                //ModelState.AddModelError()
            }

            return View();
        }
    }
}
